if __name__ == '__main__':
    from wsgiref.simple_server import make_server, demo_app

    with make_server('0.0.0.0', 8800, demo_app) as httpd:
        sa = httpd.socket.getsockname()
        print("Serving HTTP on", sa[0], "port", sa[1], "...")
        httpd.serve_forever()
